package com.googlecode.monitoring.service;

import org.quartz.CronTrigger;
import org.springframework.scheduling.quartz.JobDetailBean;

import java.text.ParseException;
import java.util.Map;

public interface CronTriggerFactory {
	/**
	 * preparing Map of job's and cron's for Scheduler
	 * use "JobGroup" to map cron to job
	 *
	 * @return Map JobDetail BeanCronTrigger
	 * @throws ParseException exception
	 */
	Map<JobDetailBean, CronTrigger> buildCronTriggerBeanMap() throws ParseException;
}
